<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('api/auth', 'index/auth');

Route::get('api/getDepts', 'index/getDepts');
Route::get('api/getBloodComponents', 'index/getBloodComponents');
Route::get('api/getMatchTypes', 'index/getMatchTypes');
Route::get('api/getBloodDonations', 'index/getBloodDonations');

Route::get('api/getMatchApply', 'index/getMatchApply');
Route::get('api/getBloodApplies', 'index/getBloodApplies');
Route::get('api/getReport', 'index/getReport');
Route::get('api/getCanMatchBloods', 'index/getCanMatchBloods');
Route::post('api/saveMatchRecords', 'index/saveMatchRecords');
Route::get('api/getBloodMatchesFill', 'index/getBloodMatchesFill');
Route::post('api/saveMatchResult', 'index/saveMatchResult');
Route::get('api/getBloodMatch', 'index/getBloodMatch');
Route::get('api/getBloodMatchesInvalid', 'index/getBloodMatchesInvalid');
Route::get('api/invalidBloodMatches', 'index/invalidBloodMatches');
Route::get('api/getBloodMatches', 'index/getBloodMatches');

Route::get('api/getBloods', 'index/getBloods');